package com.atguigu.gulimall.order.exception;

public class NoStockException extends RuntimeException{

    private Long skuId;

    public NoStockException(String skuId){
        super("商品id"+skuId+":库存不足!");
    }

    public Long getSkuId(){
        return skuId;
    }

    public void setSkuId(Long skuId){
        this.skuId = skuId;
    }

}
